package com.arqui.admmon_module.client.core.invalid;

import com.gwtplatform.mvp.client.ViewImpl;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.datepicker.client.DatePicker;

public class HistoricCardView extends ViewImpl implements
		HistoricCardPresenter.MyView {

	private final Widget widget;
	@UiField DatePicker startDP;
	@UiField DatePicker endDP;
	@UiField Button consultB;
	@UiField FlexTable historicT;

	public interface Binder extends UiBinder<Widget, HistoricCardView> {
	}

	@Inject
	public HistoricCardView(final Binder binder) {
		widget = binder.createAndBindUi(this);
	}

	@Override
	public Widget asWidget() {
		return widget;
	}
	
	public DatePicker getStartDP() {
		return startDP;
	}

	public DatePicker getEndDP() {
		return endDP;
	}

	public Button getConsultB() {
		return consultB;
	}

	public FlexTable getHistoricT() {
		return historicT;
	}
	
	public void setHistoricT(FlexTable historicT) {
		this.historicT = historicT;
	}


}